1001 Secrets for Windows NT Registry
(Publisher: 29th Street Press)
Author(s): Tim Daniels
ISBN: 1882419685
Publication Date: 12/01/97

Previous Table of Contents Next


I-83 If you plan to use Program Manager instead of the Explorer, you may also want to set this registry value. This entry lets you specify whether progman.exe waits for your logon scripts to complete before it loads into memory.

Note that this value entry also appears in HKEY_CURRENT_USER\Software\ Microsoft\WindowsNT\CurrentVersion\Winlogon. The HKEY_LOCAL_MACHINE value applies to all users. The HKEY_CURRENT_USER value applies only to the current user. You can use the System Policy Editor to change this value.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
Value Name: RunLogonScriptSync
Data Type: REG_DWORD
Value: 1

I-84 Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
Value Name: RunLogonScriptSync
Data Type: REG_DWORD
Value: 1

A value of 1 tells Windows NT to wait until the logon script is finished before loading. A value of 0 indicates that the logon script and progman.exe can run concurrently. Restart Windows NT for these changes to take effect.

I-85 Are you tired of people changing the way your folders look? You get them set up just right, arranged by date with full details, then someone borrows your machine and messes it up. This registry modification prevents the system from saving changes made during the current session. Add the following value under the explorer key.

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\
Policies\Explorer
Value Name: NoSaveSettings
Data Type: Reg_Dword
Value: 1

I-86 If you are trying to restrict what users can do on their systems, you probably want to disable their ability to right-click the Start button, which normally opens the program folder and Explorer and lets the user run Find. This registry modification disables all these features. Delete the following entries under the shell keys.

Hive: HKEY_CLASSES_ROOT
Key: Directory\shell
Value Name: Find

I-87 Hive: HKEY_CLASSES_ROOT
Key: Folder\shell
Value Name: Find

Now when a user right-clicks Start, nothing happens.

I-88 Do you need to see how your users have set up their screen savers? Or maybe a user secured the screen saver but forgot the password. To access screen savers remotely, fire up Regedt32.exe and open the registry remotely. These registry values give you everything you want to know about the screen saver.

Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: ScreenSaveActive
Data Type: REG_SZ
Value: 0

A value of 0 specifies that the current screen saver is disabled; set the value to 1 to enable the current screen saver.

I-89 Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: ScreenSaveIsSecure
Data Type: REG_SZ
Value: 0

A value of 0 means the screen saver requires no password to deactivate it. Set the value to 1 to enable password protection.

I-90 Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: ScreenSaveTimeOut
Data Type: REG_SZ
Value: 300

The number represents the time in seconds before the screen saver is activated.

I-91 Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: Scrnsave.exe
Data Type: REG_SZ
Value: <drivename:\path\program>

This value is the fully qualified path to the program you want to execute when the screen saver is activated.

I-92 Problem: You’re tired of looking at the same the Control Panel icons. To change the icons to a custom set, change the following registry entry.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Classes\CLSID\{21EC2020-
3AEA-1069-A2DD-08002B30309D}\DefaultIcon
Value Name: <No Name>
Data Type: REG_EXPAND_SZ
Value: C:\Program Files\Plus!\Themes\Ancient Pathways Recycle Full.ico,2

The number 2 is the number of the icon in the file you want displayed. In this case, 2 specifies the third icon because the first icon in a file is numbered 0. If no number is used, the default is 0.


Previous Table of Contents Next